<!DOCTYPE html>
<html devsite>
  <head>
    <title>Blockly Framework Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <meta charset='utf-8'>
    <meta name="project_path" value="/blockly/_project.yaml"/><meta name="book_path" value="/blockly/_book.yaml"/>
  </head>
  <body>
    <div class="content-wrapper">
      <article class="main-content">
        <section>
          <section class="section">
            <h1>BKYLayoutConfigUnit</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight"><code><span class="k">struct</span> <span class="n">BKYLayoutConfigUnit</span> <span class="p">{}</span></code></pre>

                </div>
              </div>
            <p>Struct for representing a unit value in both the Workspace coordinate system and UIView
coordinate system.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@S@BKYLayoutConfigUnit@FI@workspaceUnit"></a>
                    <a name="//apple_ref/objc/Field/workspaceUnit" class="dashAnchor"></a>
                    <h3><a class="token" href="#/c:@S@BKYLayoutConfigUnit@FI@workspaceUnit">workspaceUnit</a></h3>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The unit value specified in the Workspace coordinate system</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="swift">
                          <p class="aside-title-swift">Swift</p>
                          <pre class="highlight"><code><span class="k">var</span> <span class="nv">workspaceUnit</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre>

                        </div>
                        <div class="objc">
                          <p class="aside-title-objc">Objective-C</p>
                          <pre class="highlight"><code><span class="n">CGFloat</span> <span class="n">workspaceUnit</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@S@BKYLayoutConfigUnit@FI@viewUnit"></a>
                    <a name="//apple_ref/objc/Field/viewUnit" class="dashAnchor"></a>
                    <h3><a class="token" href="#/c:@S@BKYLayoutConfigUnit@FI@viewUnit">viewUnit</a></h3>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The unit value specified in the UIView coordinate system. This value is automatically derived
  from <code><a href="../Structs/BKYLayoutConfigUnit.html#/c:@S@BKYLayoutConfigUnit@FI@workspaceUnit">workspaceUnit</a></code> and should not be modified directly.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="swift">
                          <p class="aside-title-swift">Swift</p>
                          <pre class="highlight"><code><span class="k">var</span> <span class="nv">viewUnit</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre>

                        </div>
                        <div class="objc">
                          <p class="aside-title-objc">Objective-C</p>
                          <pre class="highlight"><code><span class="n">CGFloat</span> <span class="n">viewUnit</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>          </section>
        </section>
      </article>
    </div>
  </body>
</html>
toc:
- heading: Blockly

- title: iOS
  path: /blockly/reference/ios/../iOS
  section:
    - title: BKYBlockJSONFile
      path: /blockly/reference/ios/../Enums/BKYBlockJSONFile.html
    - title: BKYEdgeInsets
      path: /blockly/reference/ios/../Structs/BKYEdgeInsets.html
    - title: BKYEdgeInsetsGetLeft
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYEdgeInsetsGetLeft
    - title: BKYEdgeInsetsGetRight
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYEdgeInsetsGetRight
    - title: BKYEdgeInsetsMake
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYEdgeInsetsMake
    - title: BKYEdgeInsetsZero
      path: /blockly/reference/ios/../iOS.html#/c:@BKYEdgeInsetsZero
    - title: BKYLayoutConfigEdgeInsets
      path: /blockly/reference/ios/../Structs/BKYLayoutConfigEdgeInsets.html
    - title: BKYLayoutConfigEdgeInsetsMake
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYLayoutConfigEdgeInsetsMake
    - title: BKYLayoutConfigEdgeInsetsZero
      path: /blockly/reference/ios/../iOS.html#/c:@BKYLayoutConfigEdgeInsetsZero
    - title: BKYLayoutConfigSize
      path: /blockly/reference/ios/../Structs/BKYLayoutConfigSize.html
    - title: BKYLayoutConfigSizeMake
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYLayoutConfigSizeMake
    - title: BKYLayoutConfigUnit
      path: /blockly/reference/ios/../Structs/BKYLayoutConfigUnit.html
    - title: BKYLayoutConfigUnitMake
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYLayoutConfigUnitMake
    - title: BKYWorkspacePoint
      path: /blockly/reference/ios/../Structs/BKYWorkspacePoint.html
    - title: BKYWorkspacePointMake
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYWorkspacePointMake
    - title: BKYWorkspacePointZero
      path: /blockly/reference/ios/../iOS.html#/c:@BKYWorkspacePointZero
    - title: BKYWorkspaceSize
      path: /blockly/reference/ios/../Structs/BKYWorkspaceSize.html
    - title: BKYWorkspaceSizeMake
      path: /blockly/reference/ios/../iOS.html#/c:@F@BKYWorkspaceSizeMake
    - title: BKYWorkspaceSizeZero
      path: /blockly/reference/ios/../iOS.html#/c:@BKYWorkspaceSizeZero
